<template>
  <div id="father">
    <router-view></router-view>
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item icon="search">分类</van-tabbar-item>
      <van-tabbar-item icon="shopping-cart-o" :badge="this.$store.state.num">购物车</van-tabbar-item>
      <van-tabbar-item icon="setting-o">个人</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {
        active:0,
       
    };
  },
  created() {
    
  },
  methods: {},
};
</script>

<style scoped>
</style>